package com.joysuch.wwyt.mh.mapper;

import com.joysuch.wwyt.mh.entity.MhMajorHazardPlanItem;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * <p>
 * Mapper 接口
 * </p>
 *
 * @author zqw
 * @since 2022-05-17
 */
@Repository
public interface MhMajorHazardPlanItemMapper extends BaseMapper<MhMajorHazardPlanItem> {

    void deleteByIds(@Param("ids")List<Long> ids);

    List<MhMajorHazardPlanItem> findByPlanId(@Param("planId")Long planId,@Param("deleteFlag") String deleteFlag);

    List<MhMajorHazardPlanItem> findByPlanIds(@Param("planIds")List<Long> planIds);
}
